package com.ds;

/**
 * Created by IntelliJ IDEA.
 * User: daniel
 * Date: 28/10/2009
 * Time: 16:31:18
 */
import com.ds.tools.HTMLTools;

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.tree.*;


public class SimpleTree extends JFrame {
    private static final long serialVersionUID = 332696892102385077L;

    public static void main(String[] args) {
//        new SimpleTree();
        String html = "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\"><html xmlns=\"http://www.w3.org/1999/xhtml\"><head><title>House.S06E05.HDTV.XviD-NoTV.avi Torrent Download</title><meta http-equiv=\"Content-type\" content=\"text/html; charset=utf-8\" /><link rel=\"stylesheet\" href=\"/style_.css\" type=\"text/css\" /><link rel=\"search\" href=\"http://www.torrentz.com/opensearch.xml\" type=\"application/opensearchdescription+xml\" title=\"Torrentz Search\" /><script type=\"text/javascript\" src=\"/script.js\"></script><!--[if lt IE 7]><script src=\"http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE7.js\" type=\"text/javascript\"></script><![endif]--></head><body><div class=\"top\"><h1><a href=\"/\" title=\"Torrents Search Engine\">Torrentz</a></h1><ul><li><a href=\"/search\" title=\"Torrent Search\" class=\"checked\">Search</a></li><li><a href=\"/verified\" title=\"Verified Torrent Search\">Verified</a></li><li><a href=\"/profile\" title=\"My Profile\">Profile</a></li><li><a href=\"/help\" title=\"Get Help\">Help</a></li></ul></div><form action=\"/search\" method=\"get\" class=\"search\"><fieldset><div><input type=\"text\" name=\"q\" value=\"\" id=\"thesearchbox\" autocomplete=\"off\" /></div> <div><input type=\"submit\" value=\"Search\" id=\"thesearchbutton\" /></div></fieldset></form><div id=\"suggestbox\"></div><div class=\"download\"><div>Added <span title=\"Tue, 20 Oct 2009 01:45:03\">14 days ago</span></div><h2><span>House.S06E05.HDTV.XviD-NoTV.avi</span> torrent download locations</h2><dl><dt><a href=\"http://www.binverse.com/BNV/usenet-downloads.cfm?ap_id=180\" rel=\"e\"><span class=\"u\">Binverse.com</span> <span class=\"n\">House.S06E05.HDTV.XviD-NoTV.avi</span></a></dt><dd>Sponsored Alternative Download</dd></dl><dl><dt><a href=\"http://www.mininova.org/tor/3077399\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/15.gif') no-repeat 5px center;\">mininova.org</span> <span class=\"n\">House S06E05 HDTV XviD NoTV avi</span> tv shows house</a></dt><dd><span title=\"Tue, 03 Nov 2009 07:09:11\">3 hours ago</span></dd></dl><dl><dt><a href=\"http://www.mininova.org/tor/3089776\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/15.gif') no-repeat 5px center;\">mininova.org</span> <span class=\"n\">House S06E05 HDTV XviD NoTV avi</span> tv shows house</a></dt><dd><span title=\"Tue, 03 Nov 2009 07:09:11\">3 hours ago</span></dd></dl><dl><dt><a href=\"http://www.vertor.com/torrents/1590587/House-S06E05-HDTV-XviD-NoTV-eztv\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/18.gif') no-repeat 5px center;\">vertor.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV eztv</span> series tv&amp;nbsp;shows</a></dt><dd><span title=\"Tue, 03 Nov 2009 07:17:59\">3 hours ago</span></dd></dl><dl><dt><a href=\"http://www.vertor.com/torrents/1593229/House-S06E05-HDTV-XviD-NoTV-rlslogking-com\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/18.gif') no-repeat 5px center;\">vertor.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV rlslogking com</span> series tv&amp;nbsp;shows</a></dt><dd><span title=\"Tue, 03 Nov 2009 07:17:59\">3 hours ago</span></dd></dl><dl><dt><a href=\"http://www.vertor.com/torrents/1596627/House-S06E05-HDTV-XviD-NoTV-51853%2F49213\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/18.gif') no-repeat 5px center;\">vertor.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV 51853 49213</span> series tv&amp;nbsp;shows</a></dt><dd><span title=\"Tue, 03 Nov 2009 07:17:59\">3 hours ago</span></dd></dl><dl><dt><a href=\"http://thepiratebay.org/torrent/5130073/House.S06E05.HDTV.XviD-NoTV.avi\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/20.gif') no-repeat 5px center;\">thepiratebay.org</span> <span class=\"n\">House S06E05 HDTV XviD NoTV avi</span> video tv shows</a></dt><dd><span title=\"Tue, 03 Nov 2009 07:33:09\">3 hours ago</span></dd></dl><dl><dt><a href=\"http://www.h33t.com/details.php?id=6e7a02442a15c226d2cb69188b9ad802fecf6915\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/30.gif') no-repeat 5px center;\">h33t.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV avi</span> television</a></dt><dd><span title=\"Tue, 03 Nov 2009 08:01:00\">2 hours ago</span></dd></dl><dl><dt><a href=\"http://btjunkie.org/torrent/House-S06E05-HDTV-XviD-NoTV/43586e7a02442a15c226d2cb69188b9ad802fecf6915\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/32.gif') no-repeat 5px center;\">btjunkie.org</span> <span class=\"n\">House S06E05 HDTV XviD NoTV avi</span> tv</a></dt><dd><span title=\"Tue, 03 Nov 2009 08:16:50\">2 hours ago</span></dd></dl><dl><dt><a href=\"http://www.torrenthound.com/hash/6e7a02442a15c226d2cb69188b9ad802fecf6915/torrent-info/House-S06E05-HDTV-XviD-NoTV-avi\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/33.gif') no-repeat 5px center;\">torrenthound.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV avi</span> video tv shows</a></dt><dd><span title=\"Tue, 03 Nov 2009 08:37:05\">2 hours ago</span></dd></dl><dl><dt><a href=\"http://fenopy.com/torrent/House+S06E05+HDTV+XviD+NoTV+eztv/MjY0MjQ3Mg\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/40.gif') no-repeat 5px center;\">fenopy.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV eztv</span> tv shows house</a></dt><dd><span title=\"Thu, 29 Oct 2009 07:01:31\">5 days ago</span></dd></dl><dl><dt><a href=\"http://www.yourbittorrent.com/torrent/553924/House.S06E05.HDTV.XviD-NoTV.avi.html\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/50.gif') no-repeat 5px center;\">yourbittorrent.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV avi</span> movies</a></dt><dd><span title=\"Tue, 03 Nov 2009 09:35:17\">1 hour ago</span></dd></dl><dl><dt><a href=\"http://www.monova.org/details/3233238/HOUSE%20S06E05%20HDTV%20XVID-NOTV%20%5BEZTV%5D.html\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/60.gif') no-repeat 5px center;\">monova.org</span> <span class=\"n\">HOUSE S06E05 HDTV XVID NOTV EZTV</span> tv</a></dt><dd><span title=\"Tue, 03 Nov 2009 09:53:46\">55 min ago</span></dd></dl><dl><dt><a href=\"http://torrentportal.com/details/4429670/House.S06E05.HDTV.XviD-NoTV.avi.torrent\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/70.gif') no-repeat 5px center;\">torrentportal.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV avi</span> tv</a></dt><dd><span title=\"Tue, 03 Nov 2009 04:02:02\">6 hours ago</span></dd></dl><dl><dt><a href=\"http://www.torrentreactor.net/torrents/3486979/House-S06E05-HDTV-XviD-NoTV-51853%2F49213\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/75.gif') no-repeat 5px center;\">torrentreactor.net</span> <span class=\"n\">House S06E05 HDTV XviD NoTV 51853 49213</span> series tv&amp;nbsp;shows unsorted</a></dt><dd><span title=\"Tue, 03 Nov 2009 04:22:09\">6 hours ago</span></dd></dl><dl><dt><a href=\"http://www.torrentreactor.net/torrents/3485753/House-S06E05-HDTV-XviD-NoTV-rlslogking-com\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/75.gif') no-repeat 5px center;\">torrentreactor.net</span> <span class=\"n\">House S06E05 HDTV XviD NoTV rlslogking com</span> movies horror</a></dt><dd><span title=\"Tue, 03 Nov 2009 04:22:09\">6 hours ago</span></dd></dl><dl><dt><a href=\"http://www.torrentreactor.net/torrents/3482995/House-S06E05-HDTV-XviD-NoTV-eztv\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/75.gif') no-repeat 5px center;\">torrentreactor.net</span> <span class=\"n\">House S06E05 HDTV XviD NoTV eztv</span> series tv&amp;nbsp;shows unsorted</a></dt><dd><span title=\"Tue, 03 Nov 2009 04:22:09\">6 hours ago</span></dd></dl><dl><dt><a href=\"http://www.fulldls.com/torrent-tv-1969522.html\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/80.gif') no-repeat 5px center;\">fulldls.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV avi</span> tv shows</a></dt><dd><span title=\"Tue, 03 Nov 2009 04:35:55\">6 hours ago</span></dd></dl><dl><dt><a href=\"http://extratorrent.com/torrent/2144643/House+S06E05+HDTV+XviD-NoTV.html\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/90.gif') no-repeat 5px center;\">extratorrent.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV</span> tv house</a></dt><dd><span title=\"Tue, 03 Nov 2009 05:08:14\">5 hours ago</span></dd></dl><dl><dt><a href=\"http://www.torrentzap.com/torrent/778389/House+S06E05+HDTV+XviD-NoTV+avi\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/92.gif') no-repeat 5px center;\">torrentzap.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV avi</span> tv shows</a></dt><dd><span title=\"Tue, 27 Oct 2009 14:01:46\">6 days ago</span></dd></dl><dl><dt><a href=\"http://www.torrentzap.com/torrent/768077/House+S06E05+HDTV+XviD-NoTV+avi\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/92.gif') no-repeat 5px center;\">torrentzap.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV avi</span> tv shows</a></dt><dd><span title=\"Sat, 24 Oct 2009 08:01:46\">10 days ago</span></dd></dl><dl><dt><a href=\"http://www.torrentzap.com/torrent/757232/House+S06E05+HDTV+XviD-NoTV+%5Brlslogking.com%5D\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/92.gif') no-repeat 5px center;\">torrentzap.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV rlslogking com</span> tv shows</a></dt><dd><span title=\"Tue, 20 Oct 2009 21:01:45\">13 days ago</span></dd></dl><dl><dt><a href=\"http://www.torrentzap.com/torrent/755352/House+S06E05+HDTV+XviD-NoTV+%5Beztv%5D\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/92.gif') no-repeat 5px center;\">torrentzap.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV eztv</span> tv shows</a></dt><dd><span title=\"Tue, 20 Oct 2009 06:01:46\">14 days ago</span></dd></dl><dl><dt><a href=\"http://www.torrentzap.com/torrent/755309/House+S06E05+HDTV+XviD-NoTV+%5Beztv%5D\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/92.gif') no-repeat 5px center;\">torrentzap.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV eztv</span> tv shows</a></dt><dd><span title=\"Tue, 20 Oct 2009 05:01:45\">14 days ago</span></dd></dl><dl><dt><a href=\"http://torrentdownloads.net/torrent/1650677854/House+S06E05+HDTV+XviD-NoTV+%5Beztv%5D\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/95.gif') no-repeat 5px center;\">torrentdownloads.net</span> <span class=\"n\">House S06E05 HDTV XviD NoTV eztv</span> house</a></dt><dd><span title=\"Tue, 03 Nov 2009 05:33:10\">5 hours ago</span></dd></dl><dl><dt><a href=\"http://alivetorrents.com/torrent/3062064/house-s06e05-hdtv-xvid-notv-eztv\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/100.gif') no-repeat 5px center;\">alivetorrents.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV eztv</span> tv shows</a></dt><dd><span title=\"Tue, 03 Nov 2009 05:48:05\">5 hours ago</span></dd></dl><dl><dt><a href=\"http://alivetorrents.com/torrent/3064558/house-s06e05-hdtv-xvid-notv-rlslogking.\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/100.gif') no-repeat 5px center;\">alivetorrents.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV rlslogking com</span> tv shows</a></dt><dd><span title=\"Tue, 03 Nov 2009 05:48:05\">5 hours ago</span></dd></dl><dl><dt><a href=\"http://alivetorrents.com/torrent/3077399/house-s06e05-hdtv-xvid-notv-avi\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/100.gif') no-repeat 5px center;\">alivetorrents.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV avi</span> tv shows</a></dt><dd><span title=\"Tue, 03 Nov 2009 05:48:05\">5 hours ago</span></dd></dl><dl><dt><a href=\"http://alivetorrents.com/torrent/3089776/house-s06e05-hdtv-xvid-notv-avi\" rel=\"e\"><span class=\"u\" style=\"background: transparent url('/img/100.gif') no-repeat 5px center;\">alivetorrents.com</span> <span class=\"n\">House S06E05 HDTV XviD NoTV avi</span> tv shows</a></dt><dd><span title=\"Tue, 03 Nov 2009 05:48:05\">5 hours ago</span></dd></dl><p>To download <a href=\"http://www.utorrent.com/\" rel=\"e\">get the BitTorrent client here</a> and a .torrent file from any of the torrent search engines listed above (\"Download Torrent\" button/link)<br />Using BitTorrent is legal, downloading copyrighted material isn&#8217;t. Be careful of what you download or face the consequences.</p></div><div class=\"info\">This torrent was verified by user votes.</div><div style=\"width: 300px; height: 270px; margin: 0 auto; float: right;\"><div style=\"width: 300px; height: 250px;margin: 0 auto;\"><iframe src=\"http://ad.xtendmedia.com/st?ad_type=iframe&amp;ad_size=300x250&amp;section=678585\" width=\"300\" height=\"250\" scrolling=\"no\" frameborder=\"0\" marginheight=\"0\" marginwidth=\"0\"></iframe></div></div><div class=\"feedback\" id=\"vote-box\"><h2>User Feedback</h2><p>Fake <b style=\"color: #FF0000\">(0)</b> | Password <b style=\"color: #FF0000\">(0)</b> | Low quality <b style=\"color: #FF0000\">(0)</b> | Virus <b style=\"color: #FF0000\">(0)</b></p><p>This is verified, clean and high quality torrent <b style=\"color: #008000\">(5)</b></p></div><div class=\"trackers\"><div>Hash: 6e7a02442a15c226d2cb69188b9ad802fecf6915</div><h2>Torrent Trackers</h2><dl><dt><a href=\"/tracker_252991242240\">http://tracker.openbittorrent.com:80/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 09:23:37\">1 hour ago</span></span> <span class=\"u\">3,608</span> <span class=\"d\">217</span></dd></dl><dl><dt><a href=\"/tracker_86531558400\">http://tracker.bittorrent.am/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 00:15:13\">10 hours ago</span></span> <span class=\"u\">110</span> <span class=\"d\">15</span></dd></dl><dl><dt><a href=\"/tracker_4882030321920\">http://www.h33t.com:3310/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 09:15:07\">1 hour ago</span></span> <span class=\"u\">96</span> <span class=\"d\">14</span></dd></dl><dl><dt><a href=\"/tracker_37412149850240\">http://tracker.mirrormoon.org:26213/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 08:25:55\">2 hours ago</span></span> <span class=\"u\">80</span> <span class=\"d\">17</span></dd></dl><dl><dt><a href=\"/tracker_111619870720\">http://ticose.cjb.net/btit/announce.php</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 01:16:32\">9 hours ago</span></span> <span class=\"u\">57</span> <span class=\"d\">10</span></dd></dl><dl><dt><a href=\"/tracker_13365760133952\">http://p2p.lineage2.com.cn:6969/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 09:16:52\">1 hour ago</span></span> <span class=\"u\">51</span> <span class=\"d\">7</span></dd></dl><dl><dt><a href=\"/tracker_10695324523008\">http://tracker.xpear.de:6969/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 09:17:51\">1 hour ago</span></span> <span class=\"u\">32</span> <span class=\"d\">11</span></dd></dl><dl><dt><a href=\"/tracker_9768677667264\">http://tracker.torrentbay.to:6969/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 09:16:44\">1 hour ago</span></span> <span class=\"u\">29</span> <span class=\"d\">6</span></dd></dl><dl><dt><a href=\"/tracker_280778178560\">http://tracker.mightynova.com/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 08:16:02\">2 hours ago</span></span> <span class=\"u\">26</span> <span class=\"d\">5</span></dd></dl><dl><dt><a href=\"/tracker_15144473006080\">http://tracker.mightynova.com:4315/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 04:15:55\">6 hours ago</span></span> <span class=\"u\">24</span> <span class=\"d\">7</span></dd></dl><dl><dt><a href=\"/tracker_9513818443008\">http://opentracker.fr333dom.com:6666/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 08:17:18\">2 hours ago</span></span> <span class=\"u\">15</span> <span class=\"d\">3</span></dd></dl><dl><dt><a href=\"/tracker_7944190531200\">http://smokintorrentz.com:4950/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 09:16:43\">1 hour ago</span></span> <span class=\"u\">13</span> <span class=\"d\">4</span></dd></dl><dl><dt><a href=\"/tracker_104820111360\">http://tracker.irc.su:80/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 09:16:31\">1 hour ago</span></span> <span class=\"u\">12</span> <span class=\"d\">4</span></dd></dl><dl><dt><a href=\"/tracker_5259232027776\">http://tracker.commiesubs.co.cc:3277/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 09:16:41\">1 hour ago</span></span> <span class=\"u\">11</span> <span class=\"d\">4</span></dd></dl><dl><dt><a href=\"/tracker_9659737504640\">http://tracker.bitreactor.to:2710/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 09:17:14\">1 hour ago</span></span> <span class=\"u\">10</span> <span class=\"d\">3</span></dd></dl><dl><dt><a href=\"/tracker_8015588567040\">http://tracker.levelup.cn:8080/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 09:17:29\">1 hour ago</span></span> <span class=\"u\">10</span> <span class=\"d\">4</span></dd></dl><dl><dt><a href=\"/tracker_23393419667712\">http://sombarato.org:6969/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 09:21:00\">1 hour ago</span></span> <span class=\"u\">9</span> <span class=\"d\">3</span></dd></dl><dl><dt><a href=\"/tracker_10695278137344\">http://shivaonline.fr:6969/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 09:17:31\">1 hour ago</span></span> <span class=\"u\">9</span> <span class=\"d\">4</span></dd></dl><dl><dt><a href=\"/tracker_4225810619520\">http://tracker.torrent.to:2710/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 04:16:18\">6 hours ago</span></span> <span class=\"u\">9</span> <span class=\"d\">1</span></dd></dl><dl><dt><a href=\"/tracker_108373422080\">http://80.190.151.40/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 06:19:11\">4 hours ago</span></span> <span class=\"u\">7</span> <span class=\"d\">1</span></dd></dl><dl><dt><a href=\"/tracker_1808884053504\">http://torrentino.net:4444/announce</a></dt><dd><span class=\"a\"><span title=\"Mon, 02 Nov 2009 23:24:38\">11 hours ago</span></span> <span class=\"u\">5</span> <span class=\"d\">1</span></dd></dl><dl><dt><a href=\"/tracker_24357391372416\">http://exodus.desync.com:6969/announce</a></dt><dd><span class=\"a\"><span title=\"Tue, 03 Nov 2009 09:17:18\">1 hour ago</span></span> <span class=\"u\">2</span> <span class=\"d\">0</span></dd></dl><p>This lists all the active trackers for this torrent, not just the ones embedded in the .torrent file.<br />You can get a <a href=\"/announce_6e7a02442a15c226d2cb69188b9ad802fecf6915\" rel=\"e\">&#181;Torrent compatible list here</a>. This will speed up your download.</p></div><div class=\"files\"><div title=\"366,192,412b\">Size: 349 Mb</div><h2>Torrent Contents</h2><ul><li class=\"t\">House.S06E05.HDTV.XviD-NoTV.avi</li><li><ul><li><a href=\"/advanced?q=%22House.S06E05.HDTV.XviD-NoTV.avi%22+366192412\">House.S06E05.HDTV.XviD-NoTV.avi</a> <span>349 Mb</span></li></ul></li></ul><p>Please note that this page does not hosts or makes available any of the listed filenames. You cannot download any of those files from here.<br />This list is automatically generated from a “.torrent” file which is simply metadata for the bittorrent protocol. You cannot download the “.torrent” file from here either. We don’t even cache it. If you are lucky the “.torrent” file might still be available on the pages where we found it. There is a list of URLs on top of this page where you might want to start your search. Those domains are completely independent; we have absolutely no control over them. Please don’t blame us if your monitor explodes.</p></div><div class=\"comments\"><h2>User Comments (2)</h2><a name=\"c466589\"></a><div class=\"comment\"><div class=\"head\"><a href=\"/users/baamboo\">baamboo</a> (karma: <b>-1</b>) <span title=\"Wed, 21 Oct 2009 09:40:17\">13 days ago</span></div><div class=\"votes\" id=\"c_466589\">0 votes</div><div class=\"com\" id=\"comment_466589\">Fast link, HD quality<br /><br />http://hotfile.com/dl/15285885/9f7be0b/house.0605.hdtv.xvid-notv.By.Sidofox.avi.html</div></div><a name=\"c470013\"></a><div class=\"comment\"><div class=\"head\"><a href=\"/users/gmanych1\">gmanych1</a> (karma: <b>-50</b>) <span title=\"Mon, 02 Nov 2009 03:17:14\">yesterday</span></div><div class=\"votes\" id=\"c_470013\">0 votes</div><div class=\"com\" id=\"comment_470013\">House S6E5<br /><br />http://www.megaupload.com/?d=BHAO65NV</div></div></div><form action=\"/profile\" method=\"post\" class=\"profile\"><fieldset><a name=\"post-comment\"></a><input type=\"hidden\" name=\"torrent\" value=\"7078093\" /><input type=\"hidden\" name=\"hash\" value=\"6e7a02442a15c226d2cb69188b9ad802fecf6915\" /><legend>Post a comment</legend><p>You need to <a href=\"/profile\">log in</a> before you can post comments.</p></fieldset></form><!-- C --> <div class=\"results\"><h2>Related torrents</h2><dl><dt style=\"background: transparent url('/img/accept.png') no-repeat right center\" title=\"Verified Source\"><a href=\"/6e7a02442a15c226d2cb69188b9ad802fecf6915\">House S06E05 HDTV XviD NoTV avi</a> &#187; tv shows house series tv&amp;nbsp;shows video t</dt><dd><span class=\"a\"><span title=\"Tue, 20 Oct 2009 01:45:03\">14 days ago</span></span> <span class=\"s\">349 Mb</span> <span class=\"u\">4,154</span> <span class=\"d\">325</span></dd></dl><dl><dt><a href=\"/aad63d8c4a7438e90229ce68e811cfa11ee94001\">house s06e05 hdtv xvid notv XtremeSpeeds Net</a> &#187; tv shows house</dt><dd><span class=\"a\"><span title=\"Tue, 20 Oct 2009 01:39:02\">14 days ago</span></span> <span class=\"s\">349 Mb</span> <span class=\"u\">0</span> <span class=\"d\">0</span></dd></dl><dl><dt style=\"background: transparent url('/img/accept.png') no-repeat right center\" title=\"Verified Source\"><a href=\"/99ba22d7466738a55b6d5ee5d1d45a983150af9b\">House S06E05 HDTV XviD NoTV </a> &#187; series tv shows house tv&amp;nbsp;shows video</dt><dd><span class=\"a\"><span title=\"Tue, 20 Oct 2009 02:24:07\">14 days ago</span></span> <span class=\"s\">349 Mb</span> <span class=\"u\">3,669</span> <span class=\"d\">435</span></dd></dl><dl><dt><a href=\"/52ddb1fecb40b9581cb2a541a72b23d8863abb16\">House S06E05 HDTV XviD NoTV immortalseed</a> &#187; tv shows house</dt><dd><span class=\"a\"><span title=\"Tue, 20 Oct 2009 06:53:05\">14 days ago</span></span> <span class=\"s\">349 Mb</span> <span class=\"u\">0</span> <span class=\"d\">0</span></dd></dl><dl><dt><a href=\"/38b989afe68c0a412b55b760596d7c9c072d1c78\">House S06E03 HDTV XviD NoTV avi torrent twistedtorrents com</a> &#187; tv shows house</dt><dd><span class=\"a\"><span title=\"Tue, 20 Oct 2009 10:42:02\">13 days ago</span></span> <span class=\"s\">350 Mb</span> <span class=\"u\">0</span> <span class=\"d\">0</span></dd></dl><dl><dt><a href=\"/39f2659ce66cd4cb8d681014a490b844fb97c782\">House S06E01E02 HDTV XviD NoTV avi torrent twistedtorrents com</a> &#187; tv shows house</dt><dd><span class=\"a\"><span title=\"Tue, 20 Oct 2009 10:42:09\">13 days ago</span></span> <span class=\"s\">699 Mb</span> <span class=\"u\">0</span> <span class=\"d\">0</span></dd></dl><dl><dt style=\"background: transparent url('/img/accept.png') no-repeat right center\" title=\"Verified Source\"><a href=\"/7e37aad5bb01d1e2274202d6f818bd4a1945425c\">One Tree Hill S06E05 HDTV XviD NoTV avi</a> &#187; video tv shows</dt><dd><span class=\"a\"><span title=\"Tue, 30 Sep 2008 02:59:13\"> 1 year ago</span></span> <span class=\"s\">350 Mb</span> <span class=\"u\">20</span> <span class=\"d\">5</span></dd></dl><dl><dt style=\"background: transparent url('/img/accept.png') no-repeat right center\" title=\"Verified Source\"><a href=\"/c4b2a52badcd6d786d2d6a352d0767078cc90bf5\">Entourage S06E05 HDTV XviD NoTV avi</a> &#187; video tv shows</dt><dd><span class=\"a\"><span title=\"Mon, 10 Aug 2009 03:48:03\">2 months ago</span></span> <span class=\"s\">232 Mb</span> <span class=\"u\">0</span> <span class=\"d\">1</span></dd></dl><dl><dt><a href=\"/bddc8cd7454080759ec80658a0e6b880323dba24\">House S06E01E02 HDTV XviD NoTV avi</a> &#187; series tv&amp;nbsp;shows</dt><dd><span class=\"a\"><span title=\"Wed, 23 Sep 2009 19:32:39\">1 month ago</span></span> <span class=\"s\">699 Mb</span> <span class=\"u\">1</span> <span class=\"d\">6</span></dd></dl><dl><dt><a href=\"/eb4d39472cfbf98d04113c08141002477464ae08\">House S06E03 HDTV XviD NoTV avi { www torrentday com }</a> &#187; tv shows other series tv&amp;nbsp;shows video</dt><dd><span class=\"a\"><span title=\"Tue, 06 Oct 2009 10:48:59\">27 days ago</span></span> <span class=\"s\">350 Mb</span> <span class=\"u\">0</span> <span class=\"d\">0</span></dd></dl><dl><dt style=\"background: transparent url('/img/accept.png') no-repeat right center\" title=\"Verified Source\"><a href=\"/d7d52314e6be52438d6f8e525ffd3ce5870281a9\">House S06E05 HDTV XviD NoTV </a> &#187; tv shows other video episodes</dt><dd><span class=\"a\"><span title=\"Tue, 20 Oct 2009 02:00:12\">14 days ago</span></span> <span class=\"s\">354 Mb</span> <span class=\"u\">190</span> <span class=\"d\">77</span></dd></dl><dl><dt><a href=\"/cc72bd78c515c924eca1b49ea63d26b61018330a\">House S06E05 HDTV XviD NOTV</a> &#187; series tv&amp;nbsp;shows</dt><dd><span class=\"a\"><span title=\"Tue, 20 Oct 2009 23:53:04\">13 days ago</span></span> <span class=\"s\">349 Mb</span> <span class=\"u\">30</span> <span class=\"d\">2</span></dd></dl><dl><dt><a href=\"/2c9a2a81c0ff49cc734cd2f6dfcc6e2a2aed0dc8\">House S04E14 HDTV XviD NoTV MFD avi</a> &#187; tv shows house series tv&amp;nbsp;shows</dt><dd><span class=\"a\"><span title=\"Tue, 06 May 2008 05:13:19\"> 1 year ago</span></span> <span class=\"s\">349 Mb</span> <span class=\"u\">2</span> <span class=\"d\">4</span></dd></dl><dl><dt><a href=\"/557ea9eb0d7cac7086d88de5ab3b57930daa0fc8\">House House S03E24 HDTV XviD NoTV www torrentsforall net</a> &#187; tv shows house</dt><dd><span class=\"a\"><span title=\"Wed, 30 May 2007 13:08:19\">2 years ago</span></span> <span class=\"s\">355 Mb</span> <span class=\"u\">0</span> <span class=\"d\">2</span></dd></dl><dl><dt><a href=\"/cd36af4bcc262f83630deb3ca81c5707a8e3967e\">House S04E14 HDTV XviD NoTV eztv</a> &#187; tv shows house</dt><dd><span class=\"a\"><span title=\"Tue, 06 May 2008 02:27:02\"> 1 year ago</span></span> <span class=\"s\">349 Mb</span> <span class=\"u\">0</span> <span class=\"d\">3</span></dd></dl><dl><dt><a href=\"/d0dfd9e119335e387be98155eeef9a006a436681\">House SO5E12 HDTV Xvid Knicked avi</a> &#187; tv shows house</dt><dd><span class=\"a\"><span title=\"Tue, 27 Jan 2009 17:04:41\">9 months ago</span></span> <span class=\"s\">349 Mb</span> <span class=\"u\">0</span> <span class=\"d\">0</span></dd></dl><dl><dt><a href=\"/8777b85b4bb92d1dcc7ea7a5ac294c8824bba97d\">house s05e10 hdtv xvid tvtime avi</a> &#187; tv shows house</dt><dd><span class=\"a\"><span title=\"Sun, 24 May 2009 14:08:05\">5 months ago</span></span> <span class=\"s\">349 Mb</span> <span class=\"u\">0</span> <span class=\"d\">1</span></dd></dl><dl><dt><a href=\"/a4f43129c441e8a0e2197ab22e59eb3cf9417ca6\">House S06E01E02 HDTV XviD NoTV immortalseed</a> &#187; tv shows house</dt><dd><span class=\"a\"><span title=\"Tue, 22 Sep 2009 04:40:13\">1 month ago</span></span> <span class=\"s\">712 Mb</span> <span class=\"u\">0</span> <span class=\"d\">1</span></dd></dl><dl><dt style=\"background: transparent url('/img/accept.png') no-repeat right center\" title=\"Verified Source\"><a href=\"/92c07f015b9cf1c8fd3adfeacf9c1892f4524a67\">House S06E01E02 HDTV XviD NoTV torrent qemist info</a> &#187; tv shows house</dt><dd><span class=\"a\"><span title=\"Tue, 22 Sep 2009 04:40:45\">1 month ago</span></span> <span class=\"s\">699 Mb</span> <span class=\"u\">0</span> <span class=\"d\">1</span></dd></dl><dl><dt style=\"background: transparent url('/img/accept.png') no-repeat right center\" title=\"Verified Source\"><a href=\"/296a490d73f5dbdb065636f09559ae4308351050\">House S06E01E02 HDTV XviD NoTV </a> &#187; tv shows house series tv&amp;nbsp;shows video episodes</dt><dd><span class=\"a\"><span title=\"Tue, 22 Sep 2009 04:40:05\">1 month ago</span></span> <span class=\"s\">712 Mb</span> <span class=\"u\">776</span> <span class=\"d\">373</span></dd></dl></div><div class=\"footer\">&copy; 2003-2009 Torrentz</div></body></html>";
//        String res = HTMLTools.extractTag(html, "<span class=\"n\">");
//        System.out.println("res = " + res);

//        String s = HTMLTools.extractTag(html, "<a rel=\"e\" href=\"http://www.mininova.org");
//        System.out.println("s = " + s);

        int linkStart = html.indexOf("http://www.mininova.org/tor/");
        int linkEnd = html.indexOf("\"", linkStart);

//        String TITLE_SPAN = "<span class=\"n\">";
//        int titleStart = html.indexOf(TITLE_SPAN, index) + TITLE_SPAN.length();
//        int titleEnd = html.indexOf("<", titleStart + TITLE_SPAN.length());

        String mininovaLink = html.substring(linkStart, linkEnd);
        mininovaLink = mininovaLink.replace("/tor", "/get");
        System.out.println("mininovaLink = " + mininovaLink);
    }


    public SimpleTree() {
        super("Creating a Simple JTree");
        addWindowListener(new ExitListener());
        Container content = getContentPane();
        Object[] hierarchy =
                { "javax.swing",
                        "javax.swing.border",
                        "javax.swing.colorchooser",
                        "javax.swing.event",
                        "javax.swing.filechooser",
                        new Object[] { "javax.swing.plaf",
                                "javax.swing.plaf.basic",
                                "javax.swing.plaf.metal",
                                "javax.swing.plaf.multi" },
                        "javax.swing.table",
                        new Object[] { "javax.swing.text",
                                new Object[] { "javax.swing.text.html",
                                        "javax.swing.text.html.parser" },
                                "javax.swing.text.rtf" },
                        "javax.swing.tree",
                        "javax.swing.undo" };
        DefaultMutableTreeNode root = processHierarchy(hierarchy);
        JTree tree = new JTree(root);
        content.add(new JScrollPane(tree), BorderLayout.CENTER);
        setSize(275, 300);
        setVisible(true);
    }

    /** Small routine that will make node out of the first entry
     *  in the array, then make nodes out of subsequent entries
     *  and make them child nodes of the first one. The process is
     *  repeated recursively for entries that are arrays.
     */

    private DefaultMutableTreeNode processHierarchy(Object[] hierarchy) {
        DefaultMutableTreeNode node =
                new DefaultMutableTreeNode(hierarchy[0]);
        DefaultMutableTreeNode child;
        for(int i=1; i<hierarchy.length; i++) {
            Object nodeSpecifier = hierarchy[i];
            if (nodeSpecifier instanceof Object[])  // Ie node with children
                child = processHierarchy((Object[])nodeSpecifier);
            else
                child = new DefaultMutableTreeNode(nodeSpecifier); // Ie Leaf
            node.add(child);
        }
        return(node);
    }

    class ExitListener extends WindowAdapter {
        public void windowClosing(WindowEvent e) {
            System.exit(0);
        }
    }
}
